@import "@/var.scss";

.jiandaoyun {
  .right {
    display: flex;
    align-items: center;
    user-select: none;
    span {
      cursor: pointer;
      text-align: center;
    }
    .button {
      padding: 0 25px;
      height: 32px;
      font-size: 16px;
      border: 1px solid $green;
      line-height: 30px;
      margin-right: 12px;
      border-radius: 2px;
      width: 64px;
      padding: 0;
      &.signin {
        color: $green;
        border-radius: 2px;
        &:hover {
          background: $light-green;
        }
      }
      &.register {
        background: $green;
        color: #fff;
        &:hover {
          opacity: 0.8;
        }
      }
    }
    .lang-switch {
      display: flex;
      align-items: center;
      color: #5e6d82;
      margin-right: 32px;
      position: relative;
      @media screen and (max-width: 950px) {
        display: none;
      }
      &:hover {
        color: $green;
      }
      .iconicon_yuyan {
        font-size: 20px;
      }
      span {
        margin: 0 5px;
        font-size: 14px;
      }
    }
    .lang-list {
      position: absolute;
      top: 40px;
      right: -12px;
      background: #fff;
      border-radius: 3px;
      font-size: 14px;
      box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.2);
      overflow: hidden;
      .lang-item {
        width: 127px;
        height: 40px;
        line-height: 40px;
        color: #474b51;
        text-align: left;
        padding: 0 15px;
        cursor: pointer;
        &.select {
          color: $green;
        }
        &:hover {
          background: $light-green;
        }
        .icon-ok {
          color: $green;
          font-size: 12px;
          position: relative;
          float: right;
          right: 0;
        }
      }
    }
  }
}
